package com.zhentao.controller;

import com.zhentao.entity.order.AfterSale;
import com.zhentao.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("order")
public class OrderController {
    @Autowired
    private OrderService orderService;

    @RequestMapping("SelA")
    public List<AfterSale> selA() {
        return orderService.selA();
    }

    @RequestMapping("SelC")
    public List<AfterSale> selC() {
        return orderService.selC();
    }

    @RequestMapping("SelB")
    public List<AfterSale> selB() {
        return orderService.selB();
    }
}
